﻿using System;
using System.IO;
using System.Linq;

class PrintsOddLinesOfFile
{
    static void Main()
    {

        using (StreamReader reader = new StreamReader(@"..\..\PrintsOddLinesOfFile.cs"))
        {
            int counter = 0;
            while (reader.ReadLine() != null)
            {
                if (counter == 0)
                {
                    Console.WriteLine("Line [{0}]: {1}", counter, reader.ReadLine());
                }
                else if (counter % 2 !=0 )
                {
                   Console.WriteLine("Line [{0}]: {1}",counter, reader.ReadLine());
                }
                counter++;
            }
        }
    }
}

